{extend name="base" /}
{block name="body"}
<!-- slider -->
<section class="block">
<div class="m-slider" data-ydui-slider>
            <div class="slider-wrapper">
                <div class="slider-item">
                    <a href="{:url('product/show','id=47')}">
                        <img src="/assets/m/res/slider1.jpg">
                    </a>
                </div>
            </div>
            <div class="slider-pagination"></div>
        </div>
</section>

<!-- icon -->
<section class="block mt15" id="menu">
<div class="lucn-grid lucn-grid-1-5">
    <a href="{:url($module.'/about/show','id=1')}">
        <div class="grids-icon">
            <i class="icon-star-outline"></i>
        </div>
        <div class="grids-txt">企业</div>
    </a>
	<a href="{:url($module.'/about/show','id=4')}">
        <div class="grids-icon">
            <i class="icon-feedback"></i>
        </div>
        <div class="grids-txt">品牌</div>
    </a>
	<a href="{:url($module.'/article/tolist')}">
        <div class="grids-icon">
            <i class="icon-shopcart-outline"></i>
        </div>
        <div class="grids-txt">动态</div>
    </a>
	<a href="{:url($module.'/product/tolist')}">
        <div class="grids-icon">
            <i class="icon-phone1"></i>
        </div>
        <div class="grids-txt">产品</div>
    </a>
	<a href="{:url($module.'/about/show','id=3')}">
        <div class="grids-icon">
            <i class="icon-footmark"></i>
        </div>
        <div class="grids-txt">联系</div>
    </a>
</div>
<div class="lucn-hr"></div>
</section>

<!-- about -->
<section id="about" class="mt15 block container">
    <h2 class="tit-h2"><span>关于</span></h2>
	<p><img src="/assets/m/res/about1.jpg"></p>
	<p style="padding-top:.5em;">淮阳县金农实业有限公司成立于2004年12月，是一家立足淮阳黄花菜，集蔬菜种植、加工（蔬菜保鲜、速冻）、科研、销售及仓储、冷链物流于一体的农业产业化省级龙头企业。是国家商务部现代农产品冷链物流试点建设单位。</p>
</section>

<!-- product -->
<section id="product" class="mt15 block container">
    <h2 class="tit-h2"><span>产品</span></h2>
	<ul class="lucn-grid lucn-grid-1-2 lucn-grid-small">
	{volist name="product" id="v"}
    <li class="son">
    	<a href="{:url($module.'/product/show','id='.$v['id'])}">	
    	    <img src="{$v.image}">
    	    <h3>{$v.title}</h3>
			<small class="lucn-line-clamp row-2">{$v.description}</small>
    	</a>	
    </li>
	{/volist}
	</ul>
	<div class="more-con border-b"> 
	<div class="lucn-hr"></div>
        <a href="{:url($module.'/product/tolist')}" class="more-list">更多产品</a> 
	<div class="lucn-hr"></div>
    </div>
</section>

<!-- news -->
<section id="news" class="mt15 block container">
    <h2 class="tit-h2"><span>动态</span></h2>
	<ul>
	{volist name="article" id="v"}
    <li>
	    <a href="{:url($module.'/article/show','id='.$v['id'])}" class="lucn-list-media">
	    <div class="inner">
	    <h3 class="lucn-line-clamp row-2">{$v.title}</h3>
	    <p class="date">{php}echo fast\lucn\Lucn::countDownTime($v['createtime']){/php}</p>
	    </div>
	    <div class="head">
	    <img src="/static/timthumb/timthumb.php?src={$v.image}&h=133&w=200&zc=1">
	    </div>
		</a>
    </li>
	<div class="lucn-hr"></div>
	{/volist}
	</ul>
	<div class="more-con border-b"> 
	<div class="lucn-hr"></div>
        <a href="{:url($module.'/article/tolist')}" class="more-list">更多动态</a> 
	<div class="lucn-hr"></div>
    </div>
</section>

<!-- contact -->
<section id="contact" class="mt15 block container">
    <h2 class="tit-h2"><span>联系</span></h2>

	<ul>
	    <li><img src="/assets/m/res/contact2.jpg"></li>
	    <li>地址：河南省淮阳县工业六路</li>
		<li>电话：0394-2888888</li>
		<li>email：hyjnsy@126.com</li>
	</ul>
</section>
{/block}
{block name="script"}
<script>
    $('#J_Slider').slider({
        speed: 200,
        autoplay: 2000,
        lazyLoad: true
    });
</script>
{/block}